package iscript.uiFramework.util 
{
	/**
	 * ...
	 * @author raymond
	 */
	public class FileUtil 
	{
		
		public function FileUtil() 
		{
			
		}
		
		static public function  IsImage(file:String):Boolean {
			if ( file.indexOf(".png") != -1) return true;
			if ( file.indexOf(".jpg") != -1) return true;
			if ( file.indexOf(".bmp") != -1) return true;
			return false;
			}
		static public function  IsXML(file:String):Boolean {
		if ( file.indexOf(".xml") != -1) return true;
		return false;
		}
		
	}

}